//
//  UILable+Extension.swift
//  MyWeiboApp
//
//  Created by 胡海波 on 15/7/2.
//  Copyright © 2015年 胡海波. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(color: UIColor,fontSize: CGFloat,mutiLines: Bool = false) {

       self.init()

       font = UIFont.systemFontOfSize(fontSize)
       textColor = color

        if mutiLines {

         numberOfLines = 0

        }
    }
}
